using System;
using Microsoft.Xna.Framework;

namespace FishFillets.Model
{
    /// <summary>
    /// Dialog object with specified sound, line color, message to display and delay.
    /// </summary>
    public class Dialog
    {
        /// <summary>
        /// How log to wait after this message before displaying another message.
        /// </summary>
        public TimeSpan Delay { get; set; }

        public static TimeSpan DefaultLengthTime = TimeSpan.FromSeconds(2);

        /// <summary>
        /// Show this message even if there is another one.
        /// </summary>
        public bool Force { get; set; }

        // TODO temporary solution for delay only messages
        public bool Empty { get; set; }

        #region ----- Sound efect part -----------------------------------

        public string SoundName { get; set; }

        #endregion

        #region ----- Text message part ----------------------------------

        public string Message { get; set; }

        public Color Color { get; set; }

        #endregion
    }
}
